package com.lzy.pattern.prototype;

/**
 * @ClassName: Client
 * @Description: TODO
 * @Author: LiuZy
 * @Date: 2022/4/17 20:12
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) throws CloneNotSupportedException {

        RealizeType o1 = new RealizeType();

        RealizeType o2 = o1.clone();

        System.out.println(o2 == o1);

        System.out.println(o1.hashCode());
        System.out.println(o2.hashCode());
        System.out.println(o1);
        System.out.println(o2);
    }

}